/**
 * Title: PhoneNumber.java
 * Description:
 * Copyright: Copyright (c) 2008
 * Company:深圳彩讯科技有限公司
 * Author 罗旭东 (hi@luoxudong.com)
 * Date 2013-12-25 上午11:02:32
 * Version 1.0
 */
package com.luoxudong.phonenumber.logic.db.model;

import com.luoxudong.phonenumber.service.base.BaseEntity;
import com.luoxudong.phonenumber.service.database.annotations.DbFields;

/** 
 * ClassName: PhoneNumber
 * Description:TODO(这里用一句话描述这个类的作用)
 * Create by 罗旭东
 * Date 2013-12-25 上午11:02:32
 */
public class PhoneNumber extends BaseEntity<PhoneNumber> {
	private static final long serialVersionUID = 1L;
	/**
	 * 编号
	 */
	@DbFields(autoIncrement="true")
	private int id = 0;
	
	@DbFields(columnName="phone_number")
	private String phoneNumber = null;
	
	@DbFields(columnName="tel_operator_id")
	private int telOperatorId = 0;
	
	@DbFields(columnName="phone_brand_id")
	private int phoneBrandId = 0;
	
	@DbFields(columnName="area_id")
	private int areaId = 0;
	
	@DbFields(columnName="call_price")
	private float callPrice = 0;
	
	@DbFields(columnName="total_price")
	private float totalPrice = 0;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public int getTelOperatorId() {
		return telOperatorId;
	}

	public void setTelOperatorId(int telOperatorId) {
		this.telOperatorId = telOperatorId;
	}

	public int getPhoneBrandId() {
		return phoneBrandId;
	}

	public void setPhoneBrandId(int phoneBrandId) {
		this.phoneBrandId = phoneBrandId;
	}

	public int getAreaId() {
		return areaId;
	}

	public void setAreaId(int areaId) {
		this.areaId = areaId;
	}

	public float getCallPrice() {
		return callPrice;
	}

	public void setCallPrice(float callPrice) {
		this.callPrice = callPrice;
	}

	public float getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(float totalPrice) {
		this.totalPrice = totalPrice;
	}
	
}
